document.addEventListener("DOMContentLoaded", function () {
    // 点击新增地址按钮
    const addAddressBtn = document.querySelector(".add-address-btn");
    addAddressBtn.addEventListener("click", function () {
        alert("新增收货地址功能暂未实现！");
    });

    // 点击编辑按钮
    const editButtons = document.querySelectorAll(".edit-btn");
    editButtons.forEach(function (btn) {
        btn.addEventListener("click", function () {
            alert("编辑功能暂未实现！");
        });
    });
});
